<?php /* Smarty version Smarty-3.1.13, created on 2013-07-22 19:10:32
         compiled from "C:\xampp\htdocs\new3\application\view\trabalho_area\insert.tpl" */ ?>
<?php /*%%SmartyHeaderCode:688351ed6788e76c76-00134275%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'eb7936787896ca7412b65fa27dc5d565f020d4ea' => 
    array (
      0 => 'C:\\xampp\\htdocs\\new3\\application\\view\\trabalho_area\\insert.tpl',
      1 => 1374504364,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '688351ed6788e76c76-00134275',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'header' => 0,
    'listaT' => 0,
    'row' => 0,
    'listaA' => 0,
    'msgInsert' => 0,
    'footer' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_51ed678900f058_88438710',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51ed678900f058_88438710')) {function content_51ed678900f058_88438710($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ($_smarty_tpl->tpl_vars['header']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<form method="post">
	<label for=""></label>
    <select name="trabalho">
    	<option value=""></option>
        <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['listaT']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
?>
        	<option value="<?php echo $_smarty_tpl->tpl_vars['row']->value['cod_trabalho'];?>
"><?php echo $_smarty_tpl->tpl_vars['row']->value['titulo'];?>
</option>
        <?php } ?>
    </select><br />
    <select name="area">
    	<option value=""></option>
        <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['listaA']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
?>
        	<option value="<?php echo $_smarty_tpl->tpl_vars['row']->value['cod_area'];?>
"><?php echo $_smarty_tpl->tpl_vars['row']->value['nome_area'];?>
</option>
        <?php } ?>
    </select><br />
        <input type="submit" name="salvar" value="salvar" />
</form>
<div align="center">
	<?php echo $_smarty_tpl->tpl_vars['msgInsert']->value;?>

</div>
<?php echo $_smarty_tpl->getSubTemplate ($_smarty_tpl->tpl_vars['footer']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>